package com.example.demo.entity;

import java.util.List;

/**
 * @ClassName User
 * @Description 用户信息
 * @Author HP
 * @Date 9:19 2022/7/18
 * @Version 1.0
 **/
public class User {
    private Integer id;
    private String  name;
    private Integer age;
    private List<Pet> petList;

    public List<Pet> getPetList() {
        return petList;
    }

    public void setPetList(List<Pet> petList) {
        this.petList = petList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
